package com.zmn.oms.services.interfaces.statement;

import com.zmn.oms.model.dto.work.modify.must.OrderStatementDTO;
import com.zmn.oms.model.entity.statement.OrderStatement;

import java.util.List;

/**
 * 类描述：订单结算信息
 * @author lujia
 * @date 2019/8/14 17:54
 */
public interface OrderStatementService {


    /**
     * 根据订单查询渠道结算
     * @param orderIdList
     * @return
     */
    List<OrderStatement> listOrderStatementByOrderIdList(List<Long> orderIdList);


    /**
     * 根据订单查询渠道结算
     * @param orderId
     * @return
     */
    OrderStatement findOrderStatementByOrderId(Long orderId, Long workId);

    /**
     *
     * @param statement
     * @return
     */
    int insert(OrderStatement statement);

    /**
     * 修改结算信息
     * @param e
     */
    void updateStatement(OrderStatementDTO e);
}